<%@page import="kau.vo.AttendInfo"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link
	href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css"
	rel="stylesheet" />

<link rel="stylesheet" type="text/css" media="screen"
	href="http://tarruda.github.com/bootstrap-datetimepicker/assets/css/bootstrap-datetimepicker.min.css">
<title>Insert title here</title>
<style type="text/css">
<!--
@import url("css/style.css");
-->
</style>

<style type="text/css">
#info {
	font-family: 맑은 고딕, dotum, sans-serif, bold;
	font-size: 13px
}
</style>
</head>
<body>



	<div id="info">

		<br>
		<table align="left" style="margin-left: 20px">
			<tr>

				<td width="60" height="50">
				<img
					src="/nems/attendInfo/img/checkin.png" width="40" alt="" /></td>

				<td>
					<h4
						style="font-weight: bold; color: #005700; text-align: left; font-size: 20px;">출결정보수정</h4>
				</td>
			</tr>
		</table>

		<br>
		<br>
		<br>
		<br>

	</div>


	<form name="update_fm" method="post" action="/nems/update.attendInfo">
		<input type="hidden" name="custId"
			value="<%=request.getParameter("custId")%>" /> <input type="hidden"
			name="courseId" value="${sessionScope.courseId}" /> <input
			type="hidden" name="day" value="<%=request.getParameter("day")%>" />
		<input type="hidden" name="sessionCustId"
			value="${sessionScope.custId}" />
		<table border='1' style="width: 50%" id="newspaper-a"
			summary="2007 Major IT Companies' Profit">

			<tr>
				<td>아이디</td>
				<td>${requestScope.custId}</td>
			</tr>

			<tr>
				<td>이름</td>
				<td>${requestScope.custName}</td>
			</tr>

			<tr>
				<td>날짜</td>
				<td>${requestScope.day}</td>
			</tr>

			<tr>
				<td>현재상태</td>
				<td>${requestScope.state}</td>
			</tr>
			<tr>
				<td>변경상태</td>
				<td><select name="changedState">
						<option>선택하세요</option>
						<option value="지각">지각</option>
						<option value="조퇴">조퇴</option>
						<option value="지각+조퇴">지각+조퇴</option>
						<option value="정상">정상</option>

				</select></td>
			</tr>
			<tr>
				<td>출입시간</td>
				<td>
					<div id="startTime" class="input-append date" style="height: 27px;">
						<input type="text" name="checkInTime"
							value='${requestScope.checkInTime}' style="height: 27px;"></input>
						<span class="add-on" style="height: 27px;"> <i
							data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
						</span>
					</div>
				</td>


			</tr>

			<tr>
				<td>퇴실시간</td>
				<td>
					<div id="endTime" class="input-append date" style="height: 27px;">
						<input type="text" name="checkOutTime"
							value='${requestScope.checkOutTime}' style="height: 27px;"></input>
						<span class="add-on" style="height: 27px;"> <i
							data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
						</span>
					</div>
				</td>


			</tr>

			<tr>
			</tr>
		</table>
		<br>
		<center>
		<button class="positive"
			
			type="submit" >
			<img src="admin/images/Edit_Yes.png"
				style="width: 20px; height: 20px" />수정
		</button>
		<button class="negative"
			
			type="button" onclick="javascript:history.go(-1)">
			<img src="admin/images/Edit_Yes.png"
				style="width: 20px; height: 20px" />취소
		</button>
		
		
		</center>
		
	</form>

	<script type="text/javascript"
		src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js">
		
	</script>
	<script type="text/javascript"
		src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/js/bootstrap.min.js">
		
	</script>
	<script type="text/javascript"
		src="http://tarruda.github.com/bootstrap-datetimepicker/assets/js/bootstrap-datetimepicker.min.js">
		
	</script>
	<script type="text/javascript"
		src="http://tarruda.github.com/bootstrap-datetimepicker/assets/js/bootstrap-datetimepicker.pt-BR.js">
		
	</script>
	<script type="text/javascript">
		$.fn.datetimepicker.defaults = {
			maskInput : true, // disables the text input mask
			pickDate : true, // disables the date picker
			pickTime : true, // disables de time picker
			pick12HourFormat : false, // enables the 12-hour format time picker
			pickSeconds : false, // disables seconds in the time picker
			startDate : -Infinity, // set a minimum date
			endDate : Infinity
		// set a maximum date
		};

		$('#startDate').datetimepicker({
			format : 'yyyy/MM/dd',

			pickTime : false
		});

		$('#endDate').datetimepicker({
			format : 'yyyy/MM/dd',

			pickTime : false
		});

		$('#startTime').datetimepicker({
			format : 'hh:mm',

			pickDate : false
		});

		$('#endTime').datetimepicker({
			format : 'hh:mm',

			pickDate : false
		});
	</script>
</body>
</html>